package com.hibernate.hql;

public class Student {
	private Integer id;
	private String name;
	private String sex;
	private Grade grade;
	public Student() {
		super();
	}

	public Student(String name, String sex) {
		super();
		this.name = name;
		this.sex = sex;
	}


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}


	public Grade getGrade() {
		return grade;
	}


	public void setGrade(Grade grade) {
		this.grade = grade;
	}
	
}
